import {post,get,postFile,requestParam} from "../http/index"; 
 
export const getToken =  (data:any) =>{
    return post({
        url:"/Authentication/Login",
        data
    })
}

export const getUserList= () =>{
    return get({
        url:"/User/GetUserList"
    })
}


export const uploadFile =  (data:any) =>{
    return postFile({
        url:"/File/PostFile",
        data
    })
}

export const getFileList= (data:any) =>{
    return get({
        url:"/File/GetFileList",
        data
    })
}